package edu.bbu.bs.backend.repository;

import java.util.List;

import javax.ejb.Local;

import edu.bbu.bs.backend.model.Author;
import edu.bbu.bs.backend.repository.exceptions.RepositoryException;

@Local
public interface AuthorRepository extends BaseRepository<Author, Long> {

	List<Author> getAuthorsByTitleId (Long titleId) throws RepositoryException;
	List<Author> getAuthorsByFilter (String pattern);
	Author save (Author author);
}
